﻿@model SEMS.Models.Administrater
@{
    ViewBag.Title = "登陆";
}
<h1>
    管理员登陆页面</h1>

@Html.ValidationSummary(true, "登陆失败！")

@using (Html.BeginForm())
{
    <div>
        <fieldset>
            <legend>Account Information</legend>
            <div class="editor-label">
                @Html.LabelFor(m => m.admin_id)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.admin_id)
                @Html.ValidationMessageFor(m => m.admin_id)
            </div>
            <div class="editor-label">
                @Html.LabelFor(m => m.admin_pwd)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.admin_pwd)
                @Html.ValidationMessageFor(m => m.admin_pwd)
            </div>
            <p>
                <input type="submit" value="登陆"/>
            </p>
        </fieldset>
    </div>
}